package top.twoteam.equipment.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import top.twoteam.equipment.entity.EquipmentImage;
import top.twoteam.equipment.entity.EquipmentImageExample;

public interface EquipmentImageMapper {
    long countByExample(EquipmentImageExample example);

    int deleteByExample(EquipmentImageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EquipmentImage record);

    int insertSelective(EquipmentImage record);

    List<EquipmentImage> selectByExampleWithBLOBs(EquipmentImageExample example);

    List<EquipmentImage> selectByExample(EquipmentImageExample example);

    EquipmentImage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EquipmentImage record, @Param("example") EquipmentImageExample example);

    int updateByExampleWithBLOBs(@Param("record") EquipmentImage record, @Param("example") EquipmentImageExample example);

    int updateByExample(@Param("record") EquipmentImage record, @Param("example") EquipmentImageExample example);

    int updateByPrimaryKeySelective(EquipmentImage record);

    int updateByPrimaryKeyWithBLOBs(EquipmentImage record);

    int updateByPrimaryKey(EquipmentImage record);

    // 根据eqid查询
    List<EquipmentImage> getImgByEqid(Integer eqid);
}